home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / models / projectiles / bazookashell_dm.tik next >
Encoding:
Text File  |  2002-10-24  |  1.3 KB  |  73 lines

  1. TIKI
  2. setup
  3. {
  4.     scale 1.0    // Needs to be unnaturally large so it is visible
  5.     lod_scale 30
  6.     path models/ammo/bazooka_shell
  7.     skelmodel projectile_bazooka.skd
  8.     surface bazookashell shader bazookashell
  9. }
  10.  
  11.  
  12. init
  13. {
  14.     server
  15.     {
  16.         classname            Projectile
  17.         anim idle
  18.         setsize                "-1 -1 -1" "1 1 1"
  19.         speed                2000 // full realistic speed is 2800 (175ft/sec)
  20.         addownervelocity    0
  21.         hitdamage            280
  22.         life                20.0
  23.         health                50
  24.         takedamage
  25.         meansofdeath        rocket
  26.         explosionmodel        models/fx/bazookaexplosion_dm.tik
  27.         explodeontouch
  28.         smashthroughglass 64
  29.         knockback            300
  30.         dlight 0.4 0.2 0.1 256 // red green blue radius
  31.  
  32. //        commanddelay 0.17 drunk 0.12 0.12
  33. // jsl-->reduce perturbance by 20%
  34.         commanddelay 0.17 drunk 0.096 0.096
  35.  
  36.         cache blastmark.spr
  37.         cache models/fx/bazookaexplosion.tik
  38.     }
  39.     client
  40.     {
  41.         originemitter bazookatrail
  42.         (
  43.                 model vsssource.spr
  44.                 velocity 150
  45.                 friction 0.85
  46.                 randvel crandom 10 crandom 10 crandom 10
  47.                 accel 0 0 20
  48.                 spawnrate 50
  49.                 color .4 .4 .4
  50.                 spritegridlighting
  51.                 alpha 0.4
  52.                 fadein 0.1
  53.                 fadedelay 1.0
  54.                 scalemin 0.8
  55.                 scalemax 1.0
  56.                 scalerate 0.5
  57.                 life 2.0 2.5
  58.         )
  59.     }
  60. }
  61.  
  62. animations
  63. {
  64.     idle projectile_bazooka.skc
  65.     {
  66.         client
  67.         {
  68.             entry loopsound bazooka_fly
  69.             exit stoploopsound bazooka_fly
  70.         }
  71.     }
  72. }
  73.